<?php

namespace App\Http\Controllers\admin;

use App\Dao\OlisOrderDao;
use App\Services\Code;

class OliOrdersController extends BaseController
{
    public function oli_orders()
    {
        if(getIsHasPage()){
            return Code::message('',200,OlisOrderDao::pageinage(array_merge(request()->all(),[
                'status'=>1
            ])));
        }
        return view('admin.oli_orders.oli_orders');
    }
}
